<!--
  Generated template for the ShopinfoPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar color="primary" text-center>
    <ion-title>商家信息</ion-title>
  </ion-navbar>

</ion-header>


<ion-content padding>
  <ion-list>
    <ion-item-group>
      <ion-item-divider color="light">商家信息</ion-item-divider>
      <ion-item>
        <ion-label class="item-label">商家名字</ion-label>
        <ion-label class="item-value">{{shopinfo.shopInfo.name}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label class="item-label">商家电话</ion-label>
        <ion-label class="item-value">{{shopinfo.shopInfo.phone}}</ion-label>
      </ion-item>
      <ion-item>
        <ion-label class="item-label">商家地址</ion-label>
        <ion-label class="item-value">{{shopinfo.shopInfo.address}}</ion-label>
      </ion-item>
    </ion-item-group>
    <ion-item-group>
        <ion-item-divider color="light">产品信息</ion-item-divider>
        <ion-item (click)="prodDetail(prod)" detail-push *ngFor="let prod of shopinfo.prodList" >
          {{prod.name}}
        </ion-item>
    </ion-item-group>

  </ion-list>
</ion-content>
